package com.shop.cloud.live.common.feign;

import com.shop.cloud.common.core.constant.SecurityConstants;
import com.shop.cloud.common.core.constant.ServiceNameConstants;
import com.shop.cloud.common.core.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

/**
 * @author
 */
@FeignClient(contextId = "feignLiveConfigService", value = ServiceNameConstants.LIVE_ADMIN_SERVICE)
public interface FeignLiveConfigService {


	/**
     * 直播配置查询
     * @param from
     * @return
	 */
	@GetMapping("/liveconfig/inside")
	R get(@RequestHeader(SecurityConstants.FROM) String from);

}
